var foo = <{():number; (i:number):number; }> (function(){return "err";});